/*
@description 描述
@author ZhaoliangJi
@param
@time2021-11-12 14:27:21
*/
<template>
  <div id="button">
    <div class="arise-east-border">
      <a-button type="primary"> Primary </a-button>
      <a-button>Default</a-button>
      <a-button type="dashed"> Dashed </a-button>
      <a-button type="danger"> Danger </a-button>
      <ds-card
        :imgSrc="img"
        :width="200"
        summary="Vue.js 源码全方位深入解析 全面深入理解Vue实现原理，掌握源码分析技巧"
      ></ds-card>
    </div>
  </div>
</template>

<script>
export default {
  data() {
    return {
      img: require("../assets/logo.png"),
    };
  },
  created() {
    //初始化清空时光轴 => 预防没有锚点页面
    this.$store._mutations.TSINGHUA_ID[0]({});
  },
  mounted() {
    //生成id => 为锚点跳转做铺垫
    this.$store._actions.addElementId[0]();
  },
};
</script>

<style  scoped>
</style>